import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false


// 全局引入加载组件
import pageHeader from './components/header/page-header.vue'
Vue.component('page-header',pageHeader)

import cuCustom from './colorui/components/cu-custom.vue'
Vue.component('cu-custom',cuCustom)

// 全局api
import api from '@/common/js/api.js'
Vue.prototype.$api = api

// 全局图片路径
Vue.prototype.imgPath = 'http://image.hermit.love/'
Vue.prototype.msg =  function (params) {  
	uni.showToast({
		title:params,
		icon:'none'
	});
}; 


App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
